package com.lcz.study_designmode

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.lcz.study_designmode.动态代理.ProxyFactory

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        var proxyFactory = ProxyFactory()
        var proxyObject = proxyFactory.proxyObject
        proxyObject.sell()
    }
}